package net.oschina.zbus;
/**
 * 
{
"status":200,
"token_body": {
        "id": 2240, 
        "iid": 19, 
        "project_id": 607, 
        "title": "任务标题", 
        "description": "<p>任务内容</p>"
    },
"retry_count":4,
"log_detail":"成功"
}

{
"status":404,
"token_body": {},
"retry_count":5,
"log_detail":"访问dest_url不成功"
}

 * 
 * @author 洪磊明(rushmore)
 *
 */
public class Response {
	private String status; //HTTP状态码,200，404，503，500
	private String token_body; //{回调信息}
	private String retry_count; //请求次数，第几次成功
	private String log_detail;  //失败原因
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getToken_body() {
		return token_body;
	}
	public void setToken_body(String token_body) {
		this.token_body = token_body;
	}
	public String getRetry_count() {
		return retry_count;
	}
	public void setRetry_count(String retry_count) {
		this.retry_count = retry_count;
	}
	public String getLog_detail() {
		return log_detail;
	}
	public void setLog_detail(String log_detail) {
		this.log_detail = log_detail;
	}
	@Override
	public String toString() {
		return "Response [status=" + status + ", token_body=" + token_body
				+ ", retry_count=" + retry_count + ", log_detail=" + log_detail
				+ "]";
	}
	
}



